Ryan O’Hearn crushed a two-run homer and Jared Jones pitched five shutout innings as the Pittsburgh Pirates defeated the Houston Astros 5-1.